package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配件管理对象 zsyh_platform_parts
 * 
 * @author yuexl
 * @date 2021-12-10
 */
public class ZsyhPlatformParts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配件Id */
    private String id;

    /** 厂家信息Id */
    @Excel(name = "厂家信息Id")
    private String factoryId;

    /** 配件名称 */
    @Excel(name = "配件名称")
    private String partsName;

    /** 配件编码 */
    @Excel(name = "配件编码")
    private String partsNumber;

    /** 配件分类id */
    @Excel(name = "配件分类id")
    private String partsType;

    /** 配件品牌 */
    @Excel(name = "配件品牌")
    private String partsBrand;

    /** 配件描述 */
    @Excel(name = "配件描述")
    private String partsDetails;

    /** 配件 主图 */
    @Excel(name = "配件 主图")
    private String partsImages;

    /** 配件详细信息（图文详情） */
    @Excel(name = "配件详细信息", readConverterExp = "图=文详情")
    private String partsRemarks;

    /** 是否今日热卖（1是0否） */
    @Excel(name = "是否今日热卖", readConverterExp = "1=是0否")
    private String isTodayHot;

    /** 是否新品推荐（1是0否） */
    @Excel(name = "是否新品推荐", readConverterExp = "1=是0否")
    private String isNewPush;

    /** 是否好物优选（1是0否） */
    @Excel(name = "是否好物优选", readConverterExp = "1=是0否")
    private String isGoodChoice;

    /** 是否热门推荐（1是0否） */
    @Excel(name = "是否热门推荐", readConverterExp = "1=是0否")
    private String isHotPush;

    /** 是否包邮（1是0否） */
    @Excel(name = "是否包邮", readConverterExp = "1=是0否")
    private String isPost;

    /** 订购最低数量 */
    @Excel(name = "订购最低数量")
    private Long partsQuantity;

    /** 排序数字越大，排序约靠前 */
    @Excel(name = "排序数字越大，排序约靠前")
    private Long partsSort;

    /** 省级是否上架 1是 0否 */
    @Excel(name = "省级是否上架 1是 0否")
    private String isShowProvince;

    /** 市县级是否上架 1是 0否 */
    @Excel(name = "市县级是否上架 1是 0否")
    private String isShowCity;

    /** 维修师傅是否上架 1是 0否 */
    @Excel(name = "维修师傅是否上架 1是 0否")
    private String isShowWorker;

    /** 分类 1配件 2整机 */
    @Excel(name = "分类 1配件 2整机")
    private String partsClassification;

    /** 省级会长图文详情 */
    private String agentRemakes;

    /** 维修安装指南 */
    private String partsInstallationguide;

    /** 配件的单位 */
    @Excel(name = "配件的单位")
    private String partsUnit;

    /** 配件图标 */
    @Excel(name = "配件图标")
    private String partsLogo;

    /** 补助金使用方法 */
    @Excel(name = "补助金使用方法")
    private String partsDamageDetails;

    /** 淘宝连接 */
    @Excel(name = "淘宝连接")
    private String partsTaobaourl;

    /** 主图视频 */
    @Excel(name = "主图视频")
    private String partsVideourl;

    /** 是否显示属性信息 */
    @Excel(name = "是否显示属性信息")
    private String isViewAttrs;

    /** 赔付条件 */
    @Excel(name = "赔付条件")
    private String partsConditions;

    /** 是否有补助金 0否1是 */
    @Excel(name = "是否有补助金 0否1是")
    private String partsHasGrant;

    /** 配件分类 1主事丫环商品 2侯保产品 3普通商品 */
    @Excel(name = "配件分类 1主事丫环商品 2侯保产品 3普通商品")
    private String partsDistinguish;

    /** 返点方式 1差额 2百分比 */
    @Excel(name = "返点方式 1差额 2百分比")
    private String partsRebateType;

    /** 注意事项 */
    @Excel(name = "注意事项")
    private String partsAttention;

    /** 使用说明 */
    @Excel(name = "使用说明")
    private String partsInstructions;

    private String parentId;
    //产品分类名称
    private String partsTypeName;
    //厂家名称
    private String factoryName;

    //规格最小价格
    private BigDecimal minPrice;

    //规格最大价格
    private BigDecimal maxPrice;

    private BigDecimal minPriceRetail;

    private BigDecimal maxPriceRetail;

    private BigDecimal minPriceWholesale;

    private BigDecimal maxPriceWholesale;

    //店铺显示的配件单位
    private String partsStoreUnit;

    //店铺显示的配件详情
    private String partsStoreDetails;

    //店铺分类 1平台产品 2店铺产品
    private String partsStoreType;

    private String operateType;

    private String cooperationPolicy;

    private String populationSalesRatio;

    private String salesPaymentRatio;

    private String isPoint;

    /** 产品规格管理信息 */
    private List<ZsyhPlatformPartsattribute> zsyhPlatformPartsattributeList;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setFactoryId(String factoryId)
    {
        this.factoryId = factoryId;
    }

    public String getFactoryId()
    {
        return factoryId;
    }
    public void setPartsName(String partsName)
    {
        this.partsName = partsName;
    }

    public String getPartsName()
    {
        return partsName;
    }
    public void setPartsNumber(String partsNumber)
    {
        this.partsNumber = partsNumber;
    }

    public String getPartsNumber()
    {
        return partsNumber;
    }
    public void setPartsType(String partsType)
    {
        this.partsType = partsType;
    }

    public String getPartsType()
    {
        return partsType;
    }
    public void setPartsBrand(String partsBrand)
    {
        this.partsBrand = partsBrand;
    }

    public String getPartsBrand()
    {
        return partsBrand;
    }
    public void setPartsDetails(String partsDetails)
    {
        this.partsDetails = partsDetails;
    }

    public String getPartsDetails()
    {
        return partsDetails;
    }
    public void setPartsImages(String partsImages)
    {
        this.partsImages = partsImages;
    }

    public String getPartsImages()
    {
        return partsImages;
    }
    public void setPartsRemarks(String partsRemarks)
    {
        this.partsRemarks = partsRemarks;
    }

    public String getPartsRemarks()
    {
        return partsRemarks;
    }
    public void setIsTodayHot(String isTodayHot)
    {
        this.isTodayHot = isTodayHot;
    }

    public String getIsTodayHot()
    {
        return isTodayHot;
    }
    public void setIsNewPush(String isNewPush)
    {
        this.isNewPush = isNewPush;
    }

    public String getIsNewPush()
    {
        return isNewPush;
    }
    public void setIsGoodChoice(String isGoodChoice)
    {
        this.isGoodChoice = isGoodChoice;
    }

    public String getIsGoodChoice()
    {
        return isGoodChoice;
    }
    public void setIsHotPush(String isHotPush)
    {
        this.isHotPush = isHotPush;
    }

    public String getIsHotPush()
    {
        return isHotPush;
    }
    public void setIsPost(String isPost)
    {
        this.isPost = isPost;
    }

    public String getIsPost()
    {
        return isPost;
    }
    public void setPartsQuantity(Long partsQuantity)
    {
        this.partsQuantity = partsQuantity;
    }

    public Long getPartsQuantity()
    {
        return partsQuantity;
    }

    public void setIsShowProvince(String isShowProvince)
    {
        this.isShowProvince = isShowProvince;
    }

    public String getIsShowProvince()
    {
        return isShowProvince;
    }
    public void setIsShowCity(String isShowCity)
    {
        this.isShowCity = isShowCity;
    }

    public String getIsShowCity()
    {
        return isShowCity;
    }
    public void setIsShowWorker(String isShowWorker)
    {
        this.isShowWorker = isShowWorker;
    }

    public String getIsShowWorker()
    {
        return isShowWorker;
    }
    public void setPartsClassification(String partsClassification)
    {
        this.partsClassification = partsClassification;
    }

    public String getPartsClassification()
    {
        return partsClassification;
    }
    public void setAgentRemakes(String agentRemakes)
    {
        this.agentRemakes = agentRemakes;
    }

    public String getAgentRemakes()
    {
        return agentRemakes;
    }
    public void setPartsInstallationguide(String partsInstallationguide)
    {
        this.partsInstallationguide = partsInstallationguide;
    }

    public String getPartsInstallationguide()
    {
        return partsInstallationguide;
    }
    public void setPartsUnit(String partsUnit)
    {
        this.partsUnit = partsUnit;
    }

    public String getPartsUnit()
    {
        return partsUnit;
    }
    public void setPartsLogo(String partsLogo)
    {
        this.partsLogo = partsLogo;
    }

    public String getPartsLogo()
    {
        return partsLogo;
    }
    public void setPartsDamageDetails(String partsDamageDetails)
    {
        this.partsDamageDetails = partsDamageDetails;
    }

    public String getPartsDamageDetails()
    {
        return partsDamageDetails;
    }
    public void setPartsTaobaourl(String partsTaobaourl)
    {
        this.partsTaobaourl = partsTaobaourl;
    }

    public String getPartsTaobaourl()
    {
        return partsTaobaourl;
    }
    public void setPartsVideourl(String partsVideourl)
    {
        this.partsVideourl = partsVideourl;
    }

    public String getPartsVideourl()
    {
        return partsVideourl;
    }
    public void setIsViewAttrs(String isViewAttrs)
    {
        this.isViewAttrs = isViewAttrs;
    }

    public String getIsViewAttrs()
    {
        return isViewAttrs;
    }
    public void setPartsConditions(String partsConditions)
    {
        this.partsConditions = partsConditions;
    }

    public String getPartsConditions()
    {
        return partsConditions;
    }
    public void setPartsHasGrant(String partsHasGrant)
    {
        this.partsHasGrant = partsHasGrant;
    }

    public String getPartsHasGrant()
    {
        return partsHasGrant;
    }
    public void setPartsDistinguish(String partsDistinguish)
    {
        this.partsDistinguish = partsDistinguish;
    }

    public String getPartsDistinguish()
    {
        return partsDistinguish;
    }
    public void setPartsRebateType(String partsRebateType)
    {
        this.partsRebateType = partsRebateType;
    }

    public String getPartsRebateType()
    {
        return partsRebateType;
    }
    public void setPartsAttention(String partsAttention)
    {
        this.partsAttention = partsAttention;
    }

    public String getPartsAttention()
    {
        return partsAttention;
    }
    public void setPartsInstructions(String partsInstructions)
    {
        this.partsInstructions = partsInstructions;
    }

    public String getPartsInstructions()
    {
        return partsInstructions;
    }

    public List<ZsyhPlatformPartsattribute> getZsyhPlatformPartsattributeList()
    {
        return zsyhPlatformPartsattributeList;
    }

    public void setZsyhPlatformPartsattributeList(List<ZsyhPlatformPartsattribute> zsyhPlatformPartsattributeList)
    {
        this.zsyhPlatformPartsattributeList = zsyhPlatformPartsattributeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("factoryId", getFactoryId())
            .append("partsName", getPartsName())
            .append("partsNumber", getPartsNumber())
            .append("partsType", getPartsType())
            .append("partsBrand", getPartsBrand())
            .append("partsDetails", getPartsDetails())
            .append("partsImages", getPartsImages())
            .append("partsRemarks", getPartsRemarks())
            .append("isTodayHot", getIsTodayHot())
            .append("isNewPush", getIsNewPush())
            .append("isGoodChoice", getIsGoodChoice())
            .append("isHotPush", getIsHotPush())
            .append("isPost", getIsPost())
            .append("partsQuantity", getPartsQuantity())
            .append("partsSort", getPartsSort())
            .append("isShowProvince", getIsShowProvince())
            .append("isShowCity", getIsShowCity())
            .append("isShowWorker", getIsShowWorker())
            .append("partsClassification", getPartsClassification())
            .append("agentRemakes", getAgentRemakes())
            .append("partsInstallationguide", getPartsInstallationguide())
            .append("partsUnit", getPartsUnit())
            .append("partsLogo", getPartsLogo())
            .append("partsDamageDetails", getPartsDamageDetails())
            .append("partsTaobaourl", getPartsTaobaourl())
            .append("partsVideourl", getPartsVideourl())
            .append("isViewAttrs", getIsViewAttrs())
            .append("partsConditions", getPartsConditions())
            .append("partsHasGrant", getPartsHasGrant())
            .append("partsDistinguish", getPartsDistinguish())
            .append("partsRebateType", getPartsRebateType())
            .append("partsAttention", getPartsAttention())
            .append("partsInstructions", getPartsInstructions())
            .append("zsyhPlatformPartsattributeList", getZsyhPlatformPartsattributeList())
            .toString();
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getPartsTypeName() {
        return partsTypeName;
    }

    public void setPartsTypeName(String partsTypeName) {
        this.partsTypeName = partsTypeName;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public Long getPartsSort() {
        return partsSort;
    }

    public void setPartsSort(Long partsSort) {
        this.partsSort = partsSort;
    }

    public BigDecimal getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(BigDecimal minPrice) {
        this.minPrice = minPrice;
    }

    public BigDecimal getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(BigDecimal maxPrice) {
        this.maxPrice = maxPrice;
    }

    public String getPartsStoreUnit() {
        return partsStoreUnit;
    }

    public void setPartsStoreUnit(String partsStoreUnit) {
        this.partsStoreUnit = partsStoreUnit;
    }

    public String getPartsStoreDetails() {
        return partsStoreDetails;
    }

    public void setPartsStoreDetails(String partsStoreDetails) {
        this.partsStoreDetails = partsStoreDetails;
    }

    public BigDecimal getMinPriceRetail() {
        return minPriceRetail;
    }

    public void setMinPriceRetail(BigDecimal minPriceRetail) {
        this.minPriceRetail = minPriceRetail;
    }

    public BigDecimal getMaxPriceRetail() {
        return maxPriceRetail;
    }

    public void setMaxPriceRetail(BigDecimal maxPriceRetail) {
        this.maxPriceRetail = maxPriceRetail;
    }

    public BigDecimal getMinPriceWholesale() {
        return minPriceWholesale;
    }

    public void setMinPriceWholesale(BigDecimal minPriceWholesale) {
        this.minPriceWholesale = minPriceWholesale;
    }

    public BigDecimal getMaxPriceWholesale() {
        return maxPriceWholesale;
    }

    public void setMaxPriceWholesale(BigDecimal maxPriceWholesale) {
        this.maxPriceWholesale = maxPriceWholesale;
    }

    public String getPartsStoreType() {
        return partsStoreType;
    }

    public void setPartsStoreType(String partsStoreType) {
        this.partsStoreType = partsStoreType;
    }

    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType;
    }

    public String getCooperationPolicy() {
        return cooperationPolicy;
    }

    public void setCooperationPolicy(String cooperationPolicy) {
        this.cooperationPolicy = cooperationPolicy;
    }

    public String getPopulationSalesRatio() {
        return populationSalesRatio;
    }

    public void setPopulationSalesRatio(String populationSalesRatio) {
        this.populationSalesRatio = populationSalesRatio;
    }

    public String getSalesPaymentRatio() {
        return salesPaymentRatio;
    }

    public void setSalesPaymentRatio(String salesPaymentRatio) {
        this.salesPaymentRatio = salesPaymentRatio;
    }

    public String getIsPoint() {
        return isPoint;
    }

    public void setIsPoint(String isPoint) {
        this.isPoint = isPoint;
    }
}
